#pragma once
#include "ui_WarnDialog.h"
#include <QtWidgets/QDialog>
#include "utils/util.h"
#include <QtWidgets/QtWidgets>
class WarnDlg : public QDialog
{
	Q_OBJECT
public:
	WarnDlg(QWidget *parent = Q_NULLPTR);

	void setWarnText(QString text);
	void setDisplayTime(int);
	private slots:
	void onSureBtn();

signals:
	void Closed();
private:
	Ui::WarnDlg ui;
};
